package xtgl;

import java.util.List;

import com.jfinal.plugin.activerecord.Model;

public class User extends Model<User>{
	public static final User dao = new User();
	
	
	/**
	 * 获取此班组下检验员或操作员
	 * @return
	 */
	public List<User> getygList(int deptId,int roleId){
		return User.dao.find("select * from user where dept_id=? and role_id=?",deptId,roleId);
	}
}
